package org.ceasaro.epistor.web.provide;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

/**
 * Created by IntelliJ IDEA.
 * User: cvw
 * Date: Mar 5, 2010
 * Time: 10:39:38 PM
 * Something provided be somebody to be stored in our epistor database.
 */
@SuppressWarnings({"UnusedDeclaration"})
public class Provide {

   @NotNull
   @Size(min = 2, max = 50)
   private String name;

   @Size(min = 2)
   private String characteristic;

   public String getName() {
      return name;
   }

   public void setName(String name) {
      this.name = name;
   }

   public String getCharacteristic() {
      return characteristic;
   }

   public void setCharacteristic(String characteristic) {
      this.characteristic = characteristic;
   }

   @Override
   public String toString() {
      return "Provide{" +
            "name='" + name + '\'' +
            ", characteristic='" + characteristic + '\'' +
            '}';
   }
}
